<template>
  <div class="app-container">
    <div class="title">Community ratings</div>
    <div class="rate-item">
      <div class="item">
        <div class="time">Logan H. on Feb 17, 2025</div>
        <div class="rate">
          <div class="pic" v-for="item in 5" :key="item">
            <img src="@/assets/home/star.png" alt="" />
          </div>
        </div>
        <div class="name">Refund service</div>
        <div class="text">
          The seller made attempts to give me a dud account and I reported it to
          them immediately. It took 4 days because they requi... Read more
        </div>
      </div>
      <div class="item">
        <div class="time">David K. on Feb 17, 2025</div>
        <div class="rate">
          <div class="pic" v-for="item in 5" :key="item">
            <img src="@/assets/home/star.png" alt="" />
          </div>
        </div>
        <div class="name">A fast and secure trade</div>
        <div class="text">
          We traded on mail inbox to keep it private and seller follow my
          instructions with patience. We had a good chat and gave 5 ... Read
          more
        </div>
      </div>
      <div class="item">
        <div class="time">Tomas R. on Feb 16, 2025</div>
        <div class="rate">
          <div class="pic" v-for="item in 5" :key="item">
            <img src="@/assets/home/star.png" alt="" />
          </div>
        </div>
        <div class="name">Great way to make some …</div>
        <div class="text">
          Only thing you need to be aware is payouts take around 2 weeks, but
          the service is secure and lets you find surebuyers. Wo... Read more
        </div>
      </div>
      <div class="item">
        <div class="time">Marcus B. on Feb 15, 2025</div>
        <div class="rate">
          <div class="pic" v-for="item in 5" :key="item">
            <img src="@/assets/home/star.png" alt="" />
          </div>
        </div>
        <div class="name">Excellent service, you won't find …</div>
        <div class="text">
          Ordering requires some effort because you need to show some identity
          and this takes a few minutes, so know this going in, ... Read more
        </div>
      </div>
    </div>
  </div>
</template>

<script setup></script>
<style lang="scss" scoped>
.app-container {
  //   background: pink;
  padding: 0 30px;
  .title {
    font-size: 20px;
    color: #fff;
    text-align: center;
    margin-bottom: 40px;
  }
  .rate-item {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    .item {
      margin: 0 10px;
      padding: 10px;
      padding-right: 18px;
      color: #fff;
      background: linear-gradient(
        to top,
        rgba(255, 255, 255, 0),
        rgba(0, 107, 255, 0.1) 100%
      );
      .time {
        font-size: 13px;
      }
      .rate {
        display: flex;
        margin: 10px 0;
        .pic {
          margin-right: 4px;
          img {
            width: 20px;
            height: 20px;
          }
        }
      }

      .name {
        font-size: 15px;
        font-weight: bold;
        margin-bottom: 10px;
      }
      .text {
        font-size: 14px;
        line-height: 20px;
      }
    }
  }
}
</style>
